﻿using System;
using System.Collections.Generic;
using IDAL.RF.Package;
using Model.RF.Package;

namespace BLL.RF.Package
{
    public class SNUnion : BaseService<SNUnionInfo>
    {
        private static readonly ISNUnion dal = DALFactory.DataAccess.CreateSNUnion();

        public override void SetCurrentRepository()
        {
            CurrentRepository = dal;
        }

        public IList<SNUnionInfo> SNUnion_GetbyPackageProductSN(string packageProductSN)
        {
            return dal.SNUnion_GetbyPackageProductSN(packageProductSN);
        }

        public IList<SNUnionInfo> SNUnion_GetbyDT(DateTime starttime, DateTime stoptime)
        {
            return dal.SNUnion_GetbyDT(starttime, stoptime);
        }
    }
}
